module.exports = {
  admin: [
    {
      key: 1,
      path: "/",
      label: "工作台",
      icon: "DashboardOutlined",
      hidden: false,
      component: "Home",
    },
    {
      key: 2,
      label: "活动管理",
      path: "",
      icon: "GlobalOutlined",
      component: "",
      children: [
        {
          key: 3,
          path: "/activity/list",
          label: "所有活动",
          icon: "TableOutlined",
          component: "ActivityList",
        },
        {
          key: 4,
          path: "/activity/type",
          label: "活动分类",
          icon: "TagsOutlined",
          component: "ActivityType",
        },
      ],
    },
    {
      key: 5,
      label: "权限管理",
      icon: "UserAddOutlined",
      path: "",
      component: "",
      children: [
        {
          key: 6,
          path: "/authority/role",
          label: "角色管理",
          icon: "UserSwitchOutlined",
          component: "Role",
        },
        {
          key: 7,
          path: "/authority/employee",
          label: "员工管理",
          icon: "UsergroupAddOutlined",
          component: "Employee",
        },
      ],
    },
    {
      key: 8,
      path: "/setting",
      label: "设置",
      icon: "SettingOutlined",
      hidden: false,
      component: "Setting",
    },
    {
      key: 9,
      path: "/about",
      label: "关于",
      icon: "BankOutlined",
      hidden: false,
      component: "About",
    },
    {
      key: 10,
      path: "/me",
      label: "个人中心",
      icon: "BankOutlined",
      hidden: false,
      component: "Me",
    },
    {
      key: 11,
      path: "/editpwd",
      label: "修改密码",
      icon: "",
      hidden: true,
      component: "ChangePwd",
    },
  ],
  user: [
    {
      key: 1,
      path: "/",
      label: "工作台",
      icon: "DashboardOutlined",
      hidden: false,
      component: "Home",
    },
    {
      key: 9,
      path: "/about",
      label: "关于",
      icon: "BankOutlined",
      hidden: false,
      component: "About",
    },
    {
      key: 10,
      path: "/me",
      label: "个人中心",
      icon: "",
      hidden: true,
      component: "Me",
    },
    {
      key: 11,
      path: "/editpwd",
      label: "修改密码",
      icon: "",
      hidden: true,
      component: "ChangePwd",
    },
  ],
};
